//
//  WBStatusToolBar.swift
//  ZWWEIBO
//
//  Created by xzw on 2018/4/10.
//  Copyright © 2018年 xzw. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {

    var viewModel: WBStatusViewModel? {
        didSet {
            retweetedButton.setTitle(viewModel?.retweetedStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    
    //转发
      @IBOutlet weak var retweetedButton: UIButton!
    //评论
      @IBOutlet weak var commentButton: UIButton!
    //点赞
      @IBOutlet weak var likeButton: UIButton!
    
    

}
